<?php

/**
 * Subclass for representing a row from the 'textblocks' table.
 *
 * 
 *
 * @package lib.model
 */ 
class Textblocks extends BaseTextblocks
{

    public static function getEvents($culture)
    {
        $textblock = TextblocksPeer::retrieveByPk(2);
        $textblock->setCulture($culture);
        echo $textblock->getText();
    }

    public static function getEventsName($culture)
    {
        $textblock = TextblocksPeer::retrieveByPk(2);
        $textblock->setCulture($culture);
        echo $textblock->getName();
    }

    public static function getCongrats($culture)
    {
        $textblock = TextblocksPeer::retrieveByPk(1);
        $textblock->setCulture($culture);
        echo $textblock->getText();
    }

    public static function getCongratsName($culture)
    {
        $textblock = TextblocksPeer::retrieveByPk(1);
        $textblock->setCulture($culture);
        echo $textblock->getName();
    }

}
